# 发送delete请求
import requests

response = requests.delete('https://www.baidu.com/')

# 打印状态码
print(response)

# 打印内容
print(response.text)